package com.zhangdi.dwperms.service;

import com.zhangdi.dwperms.entity.User;

import java.util.List;

public interface UserService {
    List<User> findAll();
    List<User> findAllByTenant(long tenantId);

    User findUserById(long userId);
    User findUserByAccId(long accId);

    int addUser(User user);
}
